From 57057f73e4d715aacaab0fda3fc854665edf8027 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 23 Oct 2015 00:05:46 -0400 Subject: [PATCH] HighContrast: Update image styling Use the new element name instead of the type name. --- gtk/theme/HighContrast/_common.scss | 8 ++++---- gtk/theme/HighContrast/gtk.css | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gtk/theme/HighContrast/_common.scss b/gtk/theme/HighContrast/_common.scss index 0991ae6644..eb763e8ef5 100644 --- a/gtk/theme/HighContrast/_common.scss +++ b/gtk/theme/HighContrast/_common.scss @@ -958,7 +958,7 @@ GtkComboBox { & label:last-child { padding-left: 2px; } & label:first-child { padding-right: 2px; } & label:only-child { padding-right: 0; padding-left: 0; } - GtkImage { padding-top: 1px; } + image { padding-top: 1px; } } @@ -1454,7 +1454,7 @@ GtkTreeView.view.progressbar { //Progressbar in treeview cells border-color: transparent; border-width: 2px; } - & > GtkImage { // this is a hack which makes tabs grow + & > image { // this is a hack which makes tabs grow padding: 2px; } } @@ -2229,8 +2229,8 @@ GtkPlacesSidebar.sidebar { @extend .button.flat; border-radius: 100%; outline-radius: 100%; - &:not(:hover):not(:active) > GtkImage, - &:backdrop > GtkImage { opacity: $_placesidebar_icons_opacity }; + &:not(:hover):not(:active) > image, + &:backdrop > image { opacity: $_placesidebar_icons_opacity }; } // this is for indicating which sidebar row generated a popover // see https://bugzilla.gnome.org/show_bug.cgi?id=754411 diff --git a/gtk/theme/HighContrast/gtk.css b/gtk/theme/HighContrast/gtk.css index bf2b6e6ac1..eb5b31de5a 100644 --- a/gtk/theme/HighContrast/gtk.css +++ b/gtk/theme/HighContrast/gtk.css @@ -1184,7 +1184,7 @@ GtkComboBox { .path-bar .button label:only-child { padding-right: 0; padding-left: 0; } - .path-bar .button GtkImage { + .path-bar .button image { padding-top: 1px; } /************** @@ -1645,7 +1645,7 @@ GtkTreeView.view.progressbar { color: rgba(0, 0, 0, 0.3); border-color: transparent; border-width: 2px; } - .notebook tab .button > GtkImage { + .notebook tab .button > image { padding: 2px; } /************** @@ -2417,7 +2417,7 @@ GtkSidebarRow .sidebar-label:dir(rtl) { outline-radius: 100%; } .sidebar-button.button.image-button { padding: 5px; } - .sidebar-button.button:not(:hover):not(:active) > GtkImage, .sidebar-button.button:backdrop > GtkImage { + .sidebar-button.button:not(:hover):not(:active) > image, .sidebar-button.button:backdrop > image { opacity: 0.9; } GtkPlacesSidebar.sidebar .view { color: #000; -- 2.30.2